#include <cc++/socket.h>
#include <string>
#include <unistd.h>

using namespace std;
using namespace ost;

void Test(string ip, int port)
{
    TCPStream ts(ip.c_str(), port);
    
    cout << "connetion established" << endl;
    while(1)
    {
	sleep(1000);
    }
}

int main()
{
    Test("127.0.0.1", 12812);

    return 0;
}

